#pragma once
#include "UIlib.h"
#include "utility.h"

class CAddUserDlg :
	public WindowImplBase
{
public:
	CAddUserDlg(HWND hParentWnd);
	virtual ~CAddUserDlg();

	LPCTSTR GetWindowClassName() const { return _T("CAddUserDlg"); }
	virtual CDuiString GetSkinFile() { return _T("adduser.xml"); }
	virtual CDuiString GetSkinFolder() { return  _T("skin"); }
	virtual void InitWindow();
	virtual LRESULT OnNcActivate(UINT /*uMsg*/, WPARAM wParam, LPARAM /*lParam*/, BOOL& bHandled);

	DUI_DECLARE_MESSAGE_MAP()
	void OnOKBtnClick(TNotifyUI& msg);
public:
	CLabelUI*	m_pLabTitle = nullptr;
	HWND		m_hParentWnd;
	stUser		m_stUser;
};

